import http from '@/api'

// 登录
export const postLogin = (data) => http.post('/user/login', data)

// 注册
export const postreg = (data) => http.post('/user/reg', data)

// 获取用户信息
export const unipp = (data) => http.get(`/individual/userinfo?uid=${data}`)